Auto merge of #1746 - alexcrichton:less-git-operations, r=huonw
authorbors <bors@rust-lang.org>
Thu, 25 Jun 2015 16:04:52 +0000 (16:04 +0000)
committerbors <bors@rust-lang.org>
Thu, 25 Jun 2015 16:04:52 +0000 (16:04 +0000)
commitb030d35d5cf6b35bf8a6bfd218ab4df9d6a86361
treef0954b97b0c1566968a3a3337ea9f6758da6439b
parente6fff695e30aeea323733e16167d362a38520579
parentb6ad6fb47deb49b82b82e65c73590c6713a3d789
Auto merge of #1746 - alexcrichton:less-git-operations, r=huonw

This enables libgit2 to not traverse the majority of the tree, saving a lot of
otherwise unnecessary syscalls.

For me this locally reduced the `cargo test` time of winapi-rs from 1.2s to 0.27s